<div class="det">

    {{#if loginUser}}
        <div class="box user">
            <p>作者信息</p>
            <div class="img"><img src="/uploads/{{author.avatar}}" alt=""></div>
            <a href="/user/{{author._id}}" class="name">{{author.name}}</a>
            <div class="score">积分:<span>{{author.score}}</span></div>
            <div class="intro">简介:{{author.intro}}</div>
        </div>
        <div class="box">
            <a href="/post">发布话题</a>
        </div>
    {{else}}
        <div class="box">
            <div>CNode：Node.js专业中文社区</div>
            <div>
                您可以<a href="/login">登录</a>或<a href="/reg">注册</a>, 也可以<br>
                <a href="/auth/github"><span class="span-info">通过 GitHub 登录</span>
                </a>
            </div>
        </div>
    {{/if}}

    <div class="box">
        <p>作者其它话题</p>
        <ul>
            {{#each others}}
                <li><a href="/article/{{_id}}">{{title}}</a></li>
            {{else}}
                <div class="noData">没有数据。。。</div>
            {{/each}}
        </ul>
    </div>

    <div class="box">
        <p>无人回复的话题</p>
        <ul class="no">
            {{#each noReplies}}
                <li><a href="/article/{{_id}}">{{title}}</a></li>
            {{else}}
                <div class="noData">没有数据。。。</div>
            {{/each}}
        </ul>
    </div>

</div>